package org.benetech.util;

import org.springframework.util.Assert;

/**
 * See {@link org.springframework.util.Assert}.
 *
 * @author <a href="mailto:johnc@benetech.org">John Crossman</a>
 */
public class Assertion {

	/**
	 * This is a utility class with only static methods for use.
	 */
	private Assertion() {

	}

	/**
	 * @param numbers Verify that arg(s) are zero or greater.
	 */
	public void isPositiveInteger(final int... numbers) {

		for (final int number : numbers) {
			Assert.isTrue(number >= 0, "[Assertion failed] - Not a positive integer: " + number);
		}
	}

}
